package java_test;

/**
 * @Description: 类加载机制学习
 * @author huangjd
 * @date 2018年3月6日
 */
public class ClassLoaderTest {
	public static void main(String[] args) {
		staticFunction();
	}
	static ClassLoaderTest clt = new ClassLoaderTest();
	static{
		System.out.println("1");
	}
	{
		System.out.println("2");
	}
	ClassLoaderTest(){
		System.out.println("3");
		System.out.println("a="+a+",b="+b);
	}
	public static void staticFunction(){
		System.out.println("4");
	}
	int a = 110;
	static int b = 112;
}
